package com.jsh.erp.datasource.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jsh.erp.datasource.entities.BomMaterial;
import com.jsh.erp.datasource.vo.BomMaterialVo;

import java.util.List;

/**
 * @author : yy
 * @date: 2025/6/4 16:36
 * @description:
 */
public interface BomMaterialMapper extends BaseMapper<BomMaterial> {
    int batchInsert(List<BomMaterial> list);

    List<BomMaterialVo> getBomMaterialsByProductId(Long productId);
}
